package com.slz3.business.module.configManagement.conSiteCounty.service;

import com.slz3.business.module.configManagement.conSiteCounty.domain.ConSiteCounty;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface ConSiteCountyService {

    ConSiteCounty save(ConSiteCounty conSiteCounty);

    Page<ConSiteCounty> page(MultiValueMap<String,String> queryParams);

    ConSiteCounty modify(ConSiteCounty conSiteCounty);

    Optional<ConSiteCounty> single(UUID uuid);

    List<ConSiteCounty> findAllByUuids(Iterable<UUID> uuids);

    List<ConSiteCounty> delete(List<ConSiteCounty> conSiteCountyList);
}
